STEP 6: Let's learn how we can make an event for any key on the keyboard!

Go to and drag My Key Press to the bottom of your program.

  • Drag Turn Left into the event.
  • Drag Turn Right inside the event.
  • Remember to change the name in front of your commands to dancer.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)